#!/python/env/python3.5/bin/python
# coding:utf-8
import time, os, json, re, random
import requests
import zmq

context = zmq.Context()
socket = context.socket(zmq.SUB)
socket.connect("tcp://120.78.56.38:8000")
socket.setsockopt_string(zmq.SUBSCRIBE,'')
while True:
    print(socket.recv())
